.class public Lcom/example/m6shop/AboutregActivity;
.super Landroid/app/Activity;
.source "AboutregActivity.java"


# instance fields
.field m:Lmyapp/MyApp;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 12
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 13
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/example/m6shop/AboutregActivity;->m:Lmyapp/MyApp;

    .line 12
    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 16
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 17
    const/high16 v1, 0x7f030000

    invoke-virtual {p0, v1}, Lcom/example/m6shop/AboutregActivity;->setContentView(I)V

    .line 18
    invoke-virtual {p0}, Lcom/example/m6shop/AboutregActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    check-cast v1, Lmyapp/MyApp;

    iput-object v1, p0, Lcom/example/m6shop/AboutregActivity;->m:Lmyapp/MyApp;

    .line 19
    iget-object v1, p0, Lcom/example/m6shop/AboutregActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v1}, Lmyapp/MyApp;->getActivity()Ljava/util/ArrayList;

    move-result-object v0

    .line 20
    .local v0, "activityList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Landroid/app/Activity;>;"
    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 21
    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 2
    .param p1, "keyCode"    # I
    .param p2, "event"    # Landroid/view/KeyEvent;

    .prologue
    .line 23
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 24
    .local v0, "intent":Landroid/content/Intent;
    const-class v1, Lcom/example/m6shop/ShowLogin;

    invoke-virtual {v0, p0, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 25
    invoke-virtual {p0, v0}, Lcom/example/m6shop/AboutregActivity;->startActivity(Landroid/content/Intent;)V

    .line 26
    invoke-virtual {p0}, Lcom/example/m6shop/AboutregActivity;->finish()V

    .line 27
    const/4 v1, 0x1

    return v1
.end method
